<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-cn" lang="zh-cn">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
<meta http-equiv="Content-Language" content="zh-cn" />
<title>IFRAME</title>
</head>
<body class="refund_buyer_step1_state">
<div><iframe src="http://www.google.com" name="google" ></iframe></div><button id="g" value="Google" >Google</button>
<!--<iframe src="www.baidu.com" name="baidu"><button id="2" value="Baidu"  onclick="b()"/>
<iframe src="www.sohu.com" name="sohu"><button id="3" value="Sohu"  onclick="s()"/>-->
<input type="text" id="inpA" />
 <input type="text" id="inpB" />

<script type="text/javascript">
/*
$('g').onclick = function(){
	window.frames[0].print()
}
///$("g").attachEvent
 //onpopertychange IE only;
 $("inpA").onpropertychange=function(){
     change();
 }
 //oninput for FF/Opera/Safari/NetScape
 $("inpA").oninput=function(){
    change();
}
function change(){
    $("inpB").value = $("inpA").value;
}
function $(id){
    return document.getElementById(id);
}
void function(){
	var X = function(){
		//this.name = "BeanMao";
		return "BeanMao"
	}
	alert(X() + "-------------"+ Y);
	var Y = function(){
		return "BeanMaoY";
	}
}();
function testEvent(e){
	//console.debug(e.target==this);
	alert(e.eventSource + "Event..." + this.innerHTML);
	for(var i in e){
		alert(i +"------------"+ e[i])
	}
}
if(window.addEventListener){//W3C
	$("g").addEventListener('mouseover', testEvent, false);
}else{//IE
	$("g").attachEvent('onmouseover', testEvent);
}
alert((.9).toFixed())*/

</script>
</body>
</html>
